export const IconName = ({ name, className }: { name: string; className?: string }) => {
  return (
    <span className={className}>
      <span className={`iconfont icon-${name}`} />
    </span>
  )
}

export const IconUnicode = ({ unicode, className }: { unicode: string; className?: string }) => {
  return <span className={`iconfont ${className}`}>{unicode}</span>
}
